/*
 * This class implements the menu for the main project window in the Titrator
 * program.
 * Author: Aaron A. Lovato
 */
package gui;
 
import javax.swing.*;

public class ProjectMenuBar extends JMenuBar
{
    private JMenu fileMenu;
    private JMenu optionsMenu;
    private JMenu helpMenu;
    
    public ProjectMenuBar()
     {
         JMenuItem menuItem;

         //Set up the file menu
         fileMenu = new JMenu("File");
         menuItem = new JMenuItem("New Project");
         fileMenu.add(menuItem);
         menuItem = new JMenuItem("Open Project");
         fileMenu.add(menuItem);
         menuItem = new JMenuItem("Quit");
         fileMenu.add(menuItem);

         //Set up the options menu
         optionsMenu = new JMenu("Options");
         menuItem = new JCheckBoxMenuItem("Redox Reaction");
         optionsMenu.add(menuItem);

         //Set up the help menu
         helpMenu = new JMenu("Help");
         menuItem = new JMenuItem("About");
         helpMenu.add(menuItem);

         //Add the menus
         add(fileMenu);
         add(optionsMenu);
         add(helpMenu);

     }
}